import ajax from '../config/ajax.js'

export function getQuestion(data) {
  return new ajax('api/question/list',data,'GET')
}

export function getAnswerByQuestionId(data) {
  return new ajax('api/answer/findAnswer'+data, {}, 'GET')
}